package com.nbst.model.mes;

import java.util.Date;

/**
 * 
 * @ClassName: StockArrival
 * @Description:MES中的采购到货记录表
 * @author King
 * @date 2019年2月19日
 *
 */
public class StockArrival {

	/** id */
	private Integer id;

	/** 物料内码 */
	private Integer fItemId;

	/** 物料代码 */
	private String fNumber;

	/** 物料名称 */
	private String fName;

	/** 规格 */
	private String fModel;

	/** 到货数量 */
	private Double fQty;

	/** 辅助到货数量 */
	private Double fAuxQty;

	/** 操作人 */
	private String fWorker;

	/** 制单时间 */
	private Date fDate;

	/***/
	private Date updateTime;

	/** 关闭标志 */
	private Integer fClosed;

	/** 检验人 */
	private String fChecker;

	/** 检验状态 */
	private Integer fQcStatus;

	/** 操作人 */
	private String fWorkerName;

	/** 检验人 */
	private String fCheckerName;

	/** 采购订单分录主键 */
	private Integer fDetailID;

	/** 制单人 */
	private String fBillerName;

	/** 仓库 */
	private String fStockName;

	/** 库位 */
	private String fSPName;

	/** 到货时间 */
	private Date fArrivalDate;

	/** 待本次接收质检后是否关闭该采购分录信息 */
	private Boolean fIsClosed;

	/** 制单人 */
	private Integer fBiller;

	/** 仓库id */
	private Integer fStockID;

	/** 仓位id */
	private Integer fSPID;

	/** 供应商内码 */
	private Integer fSupplyID;

	/** 供应商名称 */
	private String fSupplyName;

	/** 采购单号 */
	private String fBillNo;

	/*** 入库数量 */
	private Double fInStockQty;

	/*** 入库审核状态 */
	private Integer fCheckStatus;

	/*** 入库辅助数量 */
	private Double fAuxInStockQty;

	/** 到货数量 fArrivalQty是fQty的影子，get的时候也是getfQty的值，set也是setfQty的值 */
	private Double fArrivalQty;

	/** 进料检验单号 */
	private String fCode;

	/** 订单数量 */
	private Double fOrderQty;

	/** 单价 */
	private Double fPrice;

	/** 含税单价 */
	private Double fTaxPrice;

	/** 金额 */
	private Double fAmount;

	/** 含税金额 */
	private Double fTaxAmount;

	/** 换算率 */
	private Double fSecCoefficient;

	/** 税率(百分比) */
	private Double fTaxrate;

	/** 单位 */
	private String fUnitName;

	/** 单位id */
	private Integer fUnitID;

	/** 辅助单位 */
	private String fAuxUnitName;

	/** 助记码 */
	private String helpCode;

	/** ERP收料通知单id */
	private Integer fErpPoInStockId;

	/** ERP收料通知单分录id */
	private Integer fErpPoInStockEntryId;

	/** 采购单id */
	private Integer fPoOrderId;

	/** 采购单分录id */
	private Integer fPoOrderEntryId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getfItemId() {
		return fItemId;
	}

	public void setfItemId(Integer fItemId) {
		this.fItemId = fItemId;
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel == null ? null : fModel.trim();
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Double getfAuxQty() {
		return fAuxQty;
	}

	public void setfAuxQty(Double fAuxQty) {
		this.fAuxQty = fAuxQty;
	}

	public String getfWorker() {
		return fWorker;
	}

	public void setfWorker(String fWorker) {
		this.fWorker = fWorker == null ? null : fWorker.trim();
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public String getfChecker() {
		return fChecker;
	}

	public void setfChecker(String fChecker) {
		this.fChecker = fChecker == null ? null : fChecker.trim();
	}

	public Integer getfQcStatus() {
		return fQcStatus;
	}

	public void setfQcStatus(Integer fQcStatus) {
		this.fQcStatus = fQcStatus;
	}

	public String getfWorkerName() {
		return fWorkerName;
	}

	public void setfWorkerName(String fWorkerName) {
		this.fWorkerName = fWorkerName == null ? null : fWorkerName.trim();
	}

	public String getfCheckerName() {
		return fCheckerName;
	}

	public void setfCheckerName(String fCheckerName) {
		this.fCheckerName = fCheckerName == null ? null : fCheckerName.trim();
	}

	public Integer getfDetailID() {
		return fDetailID;
	}

	public void setfDetailID(Integer fDetailID) {
		this.fDetailID = fDetailID;
	}

	public String getfBillerName() {
		return fBillerName;
	}

	public void setfBillerName(String fBillerName) {
		this.fBillerName = fBillerName;
	}

	public String getfStockName() {
		return fStockName;
	}

	public void setfStockName(String fStockName) {
		this.fStockName = fStockName;
	}

	public String getfSPName() {
		return fSPName;
	}

	public void setfSPName(String fSPName) {
		this.fSPName = fSPName;
	}

	public Date getfArrivalDate() {
		return fArrivalDate;
	}

	public void setfArrivalDate(Date fArrivalDate) {
		this.fArrivalDate = fArrivalDate;
	}

	public Boolean getfIsClosed() {
		return fIsClosed;
	}

	public void setfIsClosed(Boolean fIsClosed) {
		this.fIsClosed = fIsClosed;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Integer getfStockID() {
		return fStockID;
	}

	public void setfStockID(Integer fStockID) {
		this.fStockID = fStockID;
	}

	public Integer getfSPID() {
		return fSPID;
	}

	public void setfSPID(Integer fSPID) {
		this.fSPID = fSPID;
	}

	public Integer getfSupplyID() {
		return fSupplyID;
	}

	public void setfSupplyID(Integer fSupplyID) {
		this.fSupplyID = fSupplyID;
	}

	public String getfSupplyName() {
		return fSupplyName;
	}

	public void setfSupplyName(String fSupplyName) {
		this.fSupplyName = fSupplyName;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public Double getfInStockQty() {
		return fInStockQty;
	}

	public void setfInStockQty(Double fInStockQty) {
		this.fInStockQty = fInStockQty;
	}

	public Integer getfCheckStatus() {
		return fCheckStatus;
	}

	public void setfCheckStatus(Integer fCheckStatus) {
		this.fCheckStatus = fCheckStatus;
	}

	public Double getfAuxInStockQty() {
		return fAuxInStockQty;
	}

	public void setfAuxInStockQty(Double fAuxInStockQty) {
		this.fAuxInStockQty = fAuxInStockQty;
	}

	public Double getfArrivalQty() {
		return fQty;
	}

	public void setfArrivalQty(Double fArrivalQty) {
		this.fQty = fArrivalQty;
	}

	public String getfCode() {
		return fCode;
	}

	public void setfCode(String fCode) {
		this.fCode = fCode;
	}

	public Double getfPrice() {
		return fPrice;
	}

	public void setfPrice(Double fPrice) {
		this.fPrice = fPrice;
	}

	public Double getfTaxPrice() {
		return fTaxPrice;
	}

	public void setfTaxPrice(Double fTaxPrice) {
		this.fTaxPrice = fTaxPrice;
	}

	public Double getfAmount() {
		return fAmount;
	}

	public void setfAmount(Double fAmount) {
		this.fAmount = fAmount;
	}

	public Double getfTaxAmount() {
		return fTaxAmount;
	}

	public void setfTaxAmount(Double fTaxAmount) {
		this.fTaxAmount = fTaxAmount;
	}

	public Double getfSecCoefficient() {
		return fSecCoefficient;
	}

	public void setfSecCoefficient(Double fSecCoefficient) {
		this.fSecCoefficient = fSecCoefficient;
	}

	public Double getfTaxrate() {
		return fTaxrate;
	}

	public void setfTaxrate(Double fTaxrate) {
		this.fTaxrate = fTaxrate;
	}

	public Double getfOrderQty() {
		return fOrderQty;
	}

	public void setfOrderQty(Double fOrderQty) {
		this.fOrderQty = fOrderQty;
	}

	public String getfUnitName() {
		return fUnitName;
	}

	public void setfUnitName(String fUnitName) {
		this.fUnitName = fUnitName;
	}

	public String getHelpCode() {
		return helpCode;
	}

	public void setHelpCode(String helpCode) {
		this.helpCode = helpCode;
	}

	public String getfAuxUnitName() {
		return fAuxUnitName;
	}

	public void setfAuxUnitName(String fAuxUnitName) {
		this.fAuxUnitName = fAuxUnitName;
	}

	public Integer getfErpPoInStockId() {
		return fErpPoInStockId;
	}

	public void setfErpPoInStockId(Integer fErpPoInStockId) {
		this.fErpPoInStockId = fErpPoInStockId;
	}

	public Integer getfErpPoInStockEntryId() {
		return fErpPoInStockEntryId;
	}

	public void setfErpPoInStockEntryId(Integer fErpPoInStockEntryId) {
		this.fErpPoInStockEntryId = fErpPoInStockEntryId;
	}

	public Integer getfUnitID() {
		return fUnitID;
	}

	public void setfUnitID(Integer fUnitID) {
		this.fUnitID = fUnitID;
	}

	public Integer getfPoOrderId() {
		return fPoOrderId;
	}

	public void setfPoOrderId(Integer fPoOrderId) {
		this.fPoOrderId = fPoOrderId;
	}

	public Integer getfPoOrderEntryId() {
		return fPoOrderEntryId;
	}

	public void setfPoOrderEntryId(Integer fPoOrderEntryId) {
		this.fPoOrderEntryId = fPoOrderEntryId;
	}

	@Override
	public String toString() {
		return "StockArrival [id=" + id + ", fItemId=" + fItemId + ", fNumber=" + fNumber + ", fName=" + fName
				+ ", fModel=" + fModel + ", fQty=" + fQty + ", fAuxQty=" + fAuxQty + ", fWorker=" + fWorker + ", fDate="
				+ fDate + ", updateTime=" + updateTime + ", fClosed=" + fClosed + ", fChecker=" + fChecker
				+ ", fQcStatus=" + fQcStatus + ", fWorkerName=" + fWorkerName + ", fCheckerName=" + fCheckerName
				+ ", fDetailID=" + fDetailID + ", fBillerName=" + fBillerName + ", fStockName=" + fStockName
				+ ", fSPName=" + fSPName + ", fArrivalDate=" + fArrivalDate + ", fIsClosed=" + fIsClosed + ", fBiller="
				+ fBiller + ", fStockID=" + fStockID + ", fSPID=" + fSPID + ", fSupplyID=" + fSupplyID
				+ ", fSupplyName=" + fSupplyName + ", fBillNo=" + fBillNo + ", fInStockQty=" + fInStockQty
				+ ", fCheckStatus=" + fCheckStatus + ", fAuxInStockQty=" + fAuxInStockQty + ", fArrivalQty="
				+ fArrivalQty + ", fCode=" + fCode + ", fOrderQty=" + fOrderQty + ", fPrice=" + fPrice + ", fTaxPrice="
				+ fTaxPrice + ", fAmount=" + fAmount + ", fTaxAmount=" + fTaxAmount + ", fSecCoefficient="
				+ fSecCoefficient + ", fTaxrate=" + fTaxrate + ", fUnitName=" + fUnitName + ", fUnitID=" + fUnitID
				+ ", fAuxUnitName=" + fAuxUnitName + ", helpCode=" + helpCode + ", fErpPoInStockId=" + fErpPoInStockId
				+ ", fErpPoInStockEntryId=" + fErpPoInStockEntryId + ", fPoOrderId=" + fPoOrderId + ", fPoOrderEntryId="
				+ fPoOrderEntryId + "]";
	}

}